import http from "@/api/httpApi/base/http.js";

//获取网站信息的列表
export const getSettingList = () => {
    return http.requestGet("/admin/setting/list");
};

// //获取网站信息的map
// export const getSettingMap = () => {
//     return http.requestGet("/admin/setting/map");
// };

//获取网站信息的列表
export const getWebTitle = () => {
    return http.requestGet("/portal/setting/webInfo");
};

//修改网站信息
export const updateSetting = (setting) => {
    return http.requestPut("/admin/setting", setting);
};

//获取超时时间
export const getSettingTimeOut = () => {
    return http.requestGet("/portal/setting/timeout");
};